<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="/common/taglibs.jsp"%>
<!-- 内容显示区域 -->
<div id="main-content">
	<!-- Main Content Section with everything -->

	<noscript>
		<!-- Show a notification if the user has disabled javascript -->
		<div class="notification error png_bg">
			<div>
				你的浏览器不支持JavaScript,请打开你的浏览器的脚本支持。或者下载firfox\ie7+\chrome等浏览器
			</div>
		</div>
	</noscript>

	<!-- Page Head -->
	<h2>
		欢迎使用网站内容管理系统
	</h2>
	<p id="page-intro">
		请选择您的操作
	</p>

	<ul class="shortcut-buttons-set">

		<li>
			<a class="shortcut-button"
				href="javascript:load('${ctx}/admin/articleCreate.jsp');"><span> <img
						src="${ctx}/images/icons/pencil_48.png" alt="icon" /> <br />
					发布文章 </span> </a>
		</li>

		<li>
			<a class="shortcut-button"
				href="javascript:load('${ctx}/admin/articleTypeCreate.jsp');"><span>
					<img src="${ctx}/images/icons/paper_content_pencil_48.png"
						alt="icon" /> <br /> 创建文章类型 </span> </a>
		</li>

		<li>
			<a class="shortcut-button" href="#"><span> <img
						src="${ctx}/images/icons/image_add_48.png" alt="icon" /> <br />
					上传资料 </span> </a>
		</li>

		<li>
			<a class="shortcut-button" href="#"><span> <img
						src="${ctx}/images/icons/clock_48.png" alt="icon" /> <br /> 添加任务
			</span> </a>
		</li>

		<li>
			<a class="shortcut-button"
				href="javascript:load('${ctx }/admin/topicIssue.jsp');"><span>
					<img src="${ctx}/images/icons/comment_48.png" alt="icon" /> <br />
					发表专题 </span> </a>
		</li>

	</ul>
	<!-- End .shortcut-buttons-set -->
	

	<div class="clear"></div>
	<!-- End .clear -->

	<div class="content-box">
		<!-- Start Content Box -->

		<div class="content-box-header">
			<h3>
				我的资料
			</h3>
			<div class="clear"></div>
		</div>
		<!-- End .content-box-header -->

		<div class="content-box-content">

			<div class="tab-content default-tab" id="tab1">

				<form action="#" method="post">

					<fieldset>
						<!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->

						<p>
							<label>
								上次登录时间：
							</label>
							<input class="text-input medium-input" type="text"
								value='<fmt:formatDate value="${sessionScope.admin.lastLoginTime}" pattern="yyyy/MM/dd HH:mm:ss"/>'
								readonly="readonly" />
							<span class="input-notification information png_bg">这里记录了你上次登录的时间，如有不同请及时修改你的密码</span>
							<!-- Classes for input-notification: success, error, information, attention -->
							<br />
						</p>

						<p>
							<label>
								上次登录IP：
							</label>
							<input class="text-input medium-input" type="text"
								value="${sessionScope.admin.lastLoginIp}" readonly="readonly" />
							<span class="input-notification information png_bg">上次登录的IP地址信息</span>

						</p>

						<p>
							<label>
								登录次数
							</label>
							<input class="text-input medium-input" type="text"
								value="${sessionScope.admin.logintimes}" readonly="readonly" />
							<span class="input-notification information png_bg">记录了你总共登录的次数</span>
						</p>

					</fieldset>

					<div class="clear"></div>
					<!-- End .clear -->

				</form>

			</div>
			<!-- End #tab2 -->

		</div>
		<!-- End .content-box-content -->

	</div>
	<!-- End .content-box -->
	<jsp:include page="foot.jsp" flush="true"></jsp:include>
	<!-- End #footer -->
</div>
<!-- End #main-content -->
